package code02_运算符;

public class Test02_关系运算符 {
	public static void main(String[] args) {
		int a = 5, b = 2;
		System.out.println(a > b);
		System.out.println(a < b);
		System.out.println(a >= b);
		System.out.println(a <= b);
		System.out.println(a == b);
		System.out.println(a != b);

		// System.out.println(2<=a<=9); // 不支持

		System.out.println('x' > 'b'); // 可以用于字符比较，比较的是字符的ascii码值
	}
}
